#!/bin/sh.exe

objdump.exe -t /c/Program\ Files/National\ Instruments/NI-DAQ/DAQmx\ ANSI\ C\ Dev/lib/msvc/NIDAQmx.lib > NIDAQmx.dump
pexports.exe /c/WINDOWS/system32/nicaiu.dll > nicaiu.dll.exp
./mkdef_new.sh nicaiu.dll.exp NIDAQmx.dump > nidaqmx.def
dlltool.exe -d nidaqmx.def -D /c/WINDOWS/system32/nicaiu.dll -l libnidaqmx.a -k
